﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EFBasic.Map
{
    public class UserTPT
    {
        [Key]
        public int UserId { get; set; }

        public string FirstName { get; set; }

        public string LastName { get; set; }
    }

    [Table("FeaturedUsersTPT")]
    public class FearturedUserTPT : UserTPT
    {
        public bool IsFeatured { get; set; }

        public DateTime SubscriptionDate { get; set; }
    }
}
